﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BPM.Foundation.WFDB;

namespace BPM.Base.WFLib.GuideForm
{
	public partial class SelectDForm: Form
	{
		public SelectDForm()
		{
			InitializeComponent();
		}
       public  FM_Templet templet;

        private void SelectDForm_Load(object sender, EventArgs e)
        {
           var v= wfs.getWFS().getFormTempletList();
           this.listBox1.DisplayMember = "formName";
           this.listBox1.DataSource = v;
        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (listBox1.SelectedItem != null)
            {
                templet = listBox1.SelectedItem as FM_Templet;
            }
        }
	}
}
